<!-- 登录后开始向外登录 { -->
{% set member=request.state.login_member %}
<section id="ol_after" class="position-relative fs-5" style="width: 320px;">
    <header id="ol_after_hd" class="row p-4">
        <h2 class="blind">我的会员信息</h2>
        <span class="col-3">
            <img src="{{ get_member_image(request.state.login_member.mb_id)|safe }}" alt="profile_image" class="rounded-circle" width="60" height="60">
        </span>
        <div class="col-9">
          <strong class="d-block fs-4 mt-1 mb-2 main-font">{{ member.mb_nick if member is defined else '' }}亲爱的</strong>
          <a href="/bbs/member_confirm" id="ol_after_info" class="d-inline-block main-border px-3 py-2 main-font text-decoration-none" title="信息更正">信息更正</a>
          {% if request.state.is_super_admin %}
          <a href="/admin" class="btn_admin btn d-inline-block px-3 text-decoration-none align-middle" style="height: 25px;line-height:25px;" title="经理"><i class="fa fa-cog fa-spin fa-fw"></i><span class="blind">经理</span></a>
          {% endif %}
        </div>
    </header>
    <ul id="ol_after_private" class="p-0">
        <li>
            <a href="/bbs/point" target="_blank" id="ol_after_pt" onclick="win_point(this.href); return false;" class="d-flex justify-content-between align-items-center py-4 px-5 text-decoration-none sub-font">
                <span><i class="fa fa-database me-4" aria-hidden="true"></i>点</span>
                <strong class="em-font">{{ member.mb_point|number_format if member else '' }}</strong>
            </a>
        </li>
        <li>
            <a href="{{ url_for('memo_list') }}" target="_blank" id="ol_after_memo" onclick="win_memo(this.href); return false;" class="d-flex justify-content-between align-items-center py-4 px-5 text-decoration-none sub-font">
                <span><i class="fa fa-regular fa-envelope me-4" aria-hidden="true"></i><span class="blind">未读取 </span>备注</span>
                <strong class="em-font">{{ member.mb_memo_cnt if member is defined else '' }}</strong>
            </a>
        </li>
        <li>
            <a href="{{ url_for('scrap_list') }}" target="_blank" id="ol_after_scrap" onclick="win_scrap(this.href); return false;" class="d-flex justify-content-between align-items-center py-4 px-5 text-decoration-none sub-font">
                <span><i class="fa fa-thumb-tack me-4" aria-hidden="true"></i>废料</span>
                <strong class="scrap em-font">{{ member.mb_scrap_cnt if member is defined else '' }}</strong>
            </a>
        </li>
    </ul>
    <footer>
        <a href="/bbs/logout" id="ol_after_logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 在日志之外</a>
    </footer>
</section>

<script>
// 在退出的情况下，您可以链接下面的代码.
function member_leave()
{
    if (confirm("你真的想离开会员资格吗?"))
        location.href = "http://g5.pypot.com/bbs/member_confirm.php?url=member_leave.php";
}
</script>
<!-- } 签到后，签出结束 -->